Define and use cleanup helpers for libarchive
authorColin Walters <walters@verbum.org>
Fri, 2 Dec 2016 18:34:32 +0000 (13:34 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 5 Dec 2016 15:20:56 +0000 (15:20 +0000)
commit7bb0ff46a438977297329ad6949faa4fae06f543
treef2e516baaca3d8db02c6d889375ed02153ec53c7
parentc733e21a84f788cb4c9ac4e723743cedb898b345
Define and use cleanup helpers for libarchive

This should fix some of the ASAN leaks around libarchive usage,
and is generally better.

Closes: #609
Approved by: jlebon
Makefile-libostree.am
src/libostree/ostree-libarchive-input-stream.h
src/libostree/ostree-libarchive-private.h [new file with mode: 0644]
src/libostree/ostree-repo-libarchive.c
src/ostree/ot-builtin-export.c
tests/test-libarchive-import.c
tests/test-ot-opt-utils.c